package org.wevil.vo.pay;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * paypal获取token返回vo
 */
@Getter
@Setter
@ToString
public class PaypalTokenVo {

    /**
     * 域
     * 示例：https://uri.paypal.com/services/payments/futurepayments https://uri.paypal.com/services/invoicing https://uri.paypal.com/services/disputes/read-buyer https://uri.paypal.com/services/payments/realtimepayment https://uri.paypal.com/services/disputes/update-seller https://uri.paypal.com/services/payments/payment/authcapture openid https://uri.paypal.com/services/disputes/read-seller https://uri.paypal.com/services/payments/refund https://api.paypal.com/v1/vault/credit-card https://api.paypal.com/v1/payments/.* https://uri.paypal.com/payments/payouts https://api.paypal.com/v1/vault/credit-card/.* https://uri.paypal.com/services/subscriptions https://uri.paypal.com/services/applications/webhooks
     * */
    String scope;

    /**
     * token
     * 示例：A21AALE43MZo0g3r2s-Nivi72cgGCYzBvkhHtsv3ZGdH_Ai81JfoDU6u3wN7zt-Rv2yIh8CNcbx_MG8YnuZM4y1riqMmKS3mg
     * */
    String access_token;

    /**
     * token 类型
     * 示例：Bearer
     * */
    String token_type;

    /**
     * app id
     * 示例：APP-6J7867672F921571S
     * */
    String app_id;

    /**
     * 过期时间
     * 示例：32078
     * */
    Integer expires_in;

    /**
     * 随机数
     * 示例：2025-07-28T05:11:57Zbp5DSBbTQtX2QDk2JOc0AKRMr_aUwksyvd1hC3pLS38
     * */
    String nonce;
}
